package cn.bby.tools.actions.str.convert;

import cn.bby.tools.actions.str.BaseStringProcessAction;
import cn.hutool.core.util.StrUtil;
import com.intellij.openapi.actionSystem.AnActionEvent;
import org.jetbrains.annotations.NotNull;

/**
 * @author ben
 * @since 2025/9/24 20:27
 */
public class ConvertToUnderlineLower extends BaseStringProcessAction {
    @Override
    public String process(@NotNull AnActionEvent e, String selectedText) {
        return StrUtil.toUnderlineCase(selectedText).toLowerCase();
    }
}
